home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / vsc92nov.zip / Promise.h < prev    next >
C/C++ Source or Header  |  1992-11-02  |  472b  |  25 lines

  1. /*
  2.  * Promise.h -- Declarations for Scheme Promises
  3.  *
  4.  * (C) m.b (Matthias Blume), Mar 1992, HUB/Ger
  5.  *
  6.  * ident "@(#) Promise.h (C) M.Blume, Humboldt-Uni Berlin, 1.2"
  7.  */
  8.  
  9. # ifndef PROMISE_H_
  10. # define PROMISE_H_
  11.  
  12. # include "storage.h"
  13.  
  14. typedef
  15. struct ScmPromise {
  16.   object_head _;
  17.   void *env;        /* NULL, if value available */
  18.   void *code_or_value;
  19. } ScmPromise;
  20.  
  21. extern od_vector ScmPromise_od_vector;
  22. # define ScmPromise_description (ScmPromise_od_vector[0])
  23.  
  24. # endif
  25.